
import Router from '@koa/router';
import FieldInfoController from '@/controllers/fieldInfo.controller'
const fieldInfoRouter = new Router({ prefix: '/fieldInfo' });
fieldInfoRouter.post('/selectList', FieldInfoController.selectList);
fieldInfoRouter.post('/selectOne', FieldInfoController.selectOne);
fieldInfoRouter.post('/add', FieldInfoController.add);
fieldInfoRouter.post('/update', FieldInfoController.update);
fieldInfoRouter.post('/delete', FieldInfoController.delete);
fieldInfoRouter.post('/sort', FieldInfoController.sort);
fieldInfoRouter.post('/addBatch', FieldInfoController.addBatch);
fieldInfoRouter.post('/selectByParentId', FieldInfoController.selectByParentId);




export default fieldInfoRouter;

